import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import fastclick from 'fastclick'
import router from './router'
import VueLazyload from 'vue-lazyload'
import store from './store'
import '../src/common/stylus/index.styl'

Vue.use(VueLazyload, {
  preLoad: 1.3,
  error: '../static/default.png',
  loading: '../static/default.png',
  attempt: 1
})

fastclick.attach(document.body)
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  el: '#app',
  render: h => h(App),
  store,
  router
})
